home *** CD-ROM | disk | FTP | other *** search
- Path: rusxppp152.rus.uni-stuttgart.de!user
- From: sparkie@studbox.uni-stuttgart.de (Georg Heinrich)
- Newsgroups: comp.sys.m68k
- Subject: calloc problem
- Date: Thu, 28 Mar 1996 06:29:36 +0200
- Organization: privat
- Message-ID: <sparkie-2803960629360001@rusxppp152.rus.uni-stuttgart.de>
- NNTP-Posting-Host: rusxppp152.rus.uni-stuttgart.de
-
- Developing a Testsoftware for a cpu-board with the 68020 I have the following
- problem:
- The program is written in C, compiled and linked with the Mikrotek 68k-tools.
- I have two pointers. One is a global variable and the other is a local variable.
- Both are allocated in the main function. And both get the same address back from
- the calloc function.
- Any idea what the fault may be?
- It is the first time for me to do hardware-programming. So this may be a simple
- problem to you, but not to me. Maybe a linker option I do not no ...(?)
-
- Thanks for your help.
- G. Heinrich
-